package mo.offer_version2;

public class L17 {

    public int[] printNumbers(int n) {
        int max = (int) Math.pow(10, n);
        int[] ret = new int[max-1];
        for (int i = 0; i < max-1; i++) {
            ret[i] = i + 1;
        }
        return ret;
    }

}
